package com.jy.adscm.wechat.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.jy.adscm.exception.AdscmSystemException;
import com.jy.adscm.wechat.bean.QueryWechatRepair;
import com.jy.adscm.wechat.bean.WechatRepair;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 * 报修单 服务类
 * </p>
 *
 * @author zyl
 * @since 2019-09-25
 */
public interface WechatRepairService extends IService<WechatRepair> {

    Boolean insertWechatRepair(WechatRepair wechatRepair, String openid)throws AdscmSystemException;

    Page<WechatRepair> selectWechatRepair(Page<WechatRepair> page, QueryWechatRepair queryWechatRepair)throws AdscmSystemException;

    Boolean updateWechatRepair(WechatRepair wechatRepair, String openid)throws AdscmSystemException;

    WechatRepair selectWechatRepairById(Long id);

    Boolean deleteWechatRepairById(Long id)throws AdscmSystemException;
}
